package com.steakliu.sun.ratelimiter.api;

/**
 * 功能说明：
 * <p>
 * Original @Author: steakliu-刘牌, 2023-02-07  15:48
 * <p>
 * Copyright (C)2020-2022  steakliu All rights reserved.
 */
public abstract class AbstractRateLimiter implements SunRateLimiter{
    protected int milliseconds;
    protected int permits;

    @Override
    public void init(int milliseconds, int permits) {
        this.milliseconds = milliseconds;
        this.permits = permits;
    }
}
